home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
LAYOUT.PAK
/
LAYOUT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1997-05-06
|
1KB
|
51 lines
//----------------------------------------------------------------------------
// ObjectWindows
// Copyright (c) 1993, 1995 by Borland International, All Rights Reserved
//----------------------------------------------------------------------------
#ifndef LAYOUT_H
#define LAYOUT_H
#if !defined(OWL_DECMDIFR_H)
# include <owl/decmdifr.h>
#endif
#if !defined(WINSYS_COLOR_H)
# include <winsys/color.h>
#endif
#include "layout.rh"
#include "laydia.h"
//
// class TMyChildWindow
// ~~~~~ ~~~~~~~~~~~~~~
class TMyChildWindow : public TWindow {
public:
TMyChildWindow(TWindow* parent, int id, char far* title,
TColor color);
};
const int MaxChildren = 5;
//
// class TMyLayout
// ~~~~~ ~~~~~~~~~
class TMyLayout : public TLayoutWindow {
public:
TMyLayout(TWindow* parent);
protected:
void SetupWindow();
private:
void CmLayout();
void CmReLayout();
private:
TChildInfo ChildInfo[MaxChildren+1];
TLayoutDialog* LayoutDialog;
DECLARE_RESPONSE_TABLE(TMyLayout);
};
#endif